package extend;

/**
 * @author shkstart
 * @date 2022/5/9 - 16:56
 */
public class Student01 extends Person01 {
    long number;
    int math;
    int english;
    int computer;
    double score;
    int maxScore;
    int minScore;

    public Student01(String name, char sex, int age,long k,int math,int computer,int english) {
        this.computer = computer;
        this.english = english;
        this.math = math;
        this.number = k;
        this.age = age;
        this.name = name;
        this.sex = sex;
    }

    public double aver(){
        return score;
    }

    public int max(){
        return maxScore;
    }
    public int min(){
        return minScore;
    }
}
